package com.luomu.base.biz.cookBook.thread.thread;

public class TestMyThread {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.setName("Thread-1");
        MyThread myThread2 = new MyThread();
        myThread2.setName("Thread-2");
        MyThread myThread3 = new MyThread();
        myThread3.setName("Thread-3");

        myThread.start();
        myThread2.start();
        myThread3.start();
        System.out.println("main 执行完毕");
    }
}
